import * as formate from './utils/formate.js'
console.log(formate.formatDate(new Date(), ''));
console.log(formate.foo);
//default抛出的要用default调用
console.log(formate.default);//bar是default抛出的